package util

// ==================
// util-list: list
// ==================

// List list接口
type list[E any] interface {
	sequencedCollection[E]
	Get(int) E
	Set(int, E) E
	AddByIndex(int, E)
	RemoveByIndex(int) E
	IndexOf(interface{}) int
	LastIndexOf(interface{}) int
	AddFirst(E)
	AddLast(E)
	GetFirst() E
	GetLast() E
	RemoveFirst() E
	RemoveLast() E
}
